﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace stackFluent.Domain {

    public class Answer {
        [Key]
        public Guid ID { get; set; }
        public int ActId { get; set; }
        public DateTime DateCreat { get; set; }

        public int Grade { get; set; }
        public int DeviceId { get; set; }

        public int QuestionId { get; set; }
        public virtual Question Question { get; set; }
        public int? UserId { get; set; }
        public virtual User Poster { get; set; }

        public string Html { get; set; }
    }
}